<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/share/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <title>修改密码</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<%@ include file="/WEB-INF/share/easyuilist.jsp"%>
    <script type="text/javascript">
	    var keyValue = request('id');
	    var instanceId = "";
	    var formId = "";
	    $(function () {
	    })
	    //保存表单
	    function AcceptClick() {
	        if (!$('#form1').Validform()) {
	            return false;
	        }
	        if($('#newp').val()!=$('#newpre').val()){
	            dialogMsg('两次输入的密码不一致！', 0);
	        	return;
	        }
	        var postData = $("#form1").GetWebControls(keyValue);
	        $.SaveForm({
	            url: "${ctx}/user/editpwd2",
	            param: postData,
	            loading: "正在保存数据...",
	            success: function (data) {
	            }
	        })
	    }
	</script>
</head>
<body>
<form id="form1">
<div style="margin-left: 10px; margin-right: 10px;">
        <div id="BaseInfo" class="tab-pane active" style=" padding-right: 30px;">
            <table class="form">
                <tr>
                    <td class="formTitle">旧密码<font face="宋体">*</font></td>
                    <td class="formValue">
                        <input id="old" value="" type="password" class="form-control" placeholder="请输入旧密码" isvalid="yes" checkexpession="NotNull" />
                    </td>
                </tr>
                <tr>
                    <td class="formTitle">新密码<font face="宋体">*</font></td>
                    <td class="formValue">
                        <input id="newp" value="" type="password" class="form-control" placeholder="请输入新密码" isvalid="yes" checkexpession="NotNull"/>
                    </td>
                </tr>
                <tr>
                    <td class="formTitle">新密码确认<font face="宋体">*</font></td>
                    <td class="formValue">
                        <input id="newpre" value="" type="password" class="form-control" placeholder="请再次输入新密码" isvalid="yes" checkexpession="NotNull"/>
                    </td>
                </tr>
            </table>
        </div>
</div>
</form>
</body>
</html>
